//
//  QNCPDeviceManager+Addition.h
//  QNCPDeviceModule
//
//  Created by yolanda on 2025/6/9.
//

#import "QNCPDeviceManager.h"

NS_ASSUME_NONNULL_BEGIN

#define QNCPDeviceLogCode  @"cpLog"

@interface QNCPDeviceManager (Log)

- (void)deviceLogMessage:(NSString *)message;
@end

@interface QNCPDeviceManager (Addition)

@property (nonatomic, strong) QNCentralManager *centralManager;

@property (nullable, nonatomic, copy) QNCPDevice *scaleDevice;

@property (nonatomic, strong) NSHashTable<id<QNCPDeviceDelegate>> *delegates;

- (void)delegateSelectorOnMainThread:(SEL)selector callBlock:(void (^)(id<QNCPDeviceDelegate> _Nonnull))block;

@end

NS_ASSUME_NONNULL_END
